package com.heima.dynamic_sql.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.dynamic_sql.entity.Setmeal;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Auth: zhuan
 * @Desc: 套餐DAO层接口
 */
@Repository //只是为了Service注入不报错，无任何其它意义
public interface SetMealMapper extends BaseMapper<Setmeal> {
    /**
     * 功能描述: 根据套餐ID，获取套餐详情信息
     *
     * @param id
     * @return : com.heima.dynamic_sql.entity.Setmeal
     */
    public Setmeal findById(@Param("setmeal_id") Integer id);
}
